import request, { SucMessage } from '@/utils/request';

// 修改用户信息
export function editUserInfoApi(params: any) {
  return request('/accountUserSelf/modifySelfInfo',
    {
      method: 'POST',
      data: params,
      serviceId:'fwSecurity' 
    },
    {
      showSuccess: true,
      successMessage: SucMessage.saveMes,
    });
}
// 修改密码
export function resetPwdApi(params: any) {
  return request('/accountUserSelf/resetSelfPassword', {
    method: 'POST',
    data: params,
    serviceId:'fwSecurity' 
  });
}